package com.inpion.biz.broker.service.data;

public class DataStore {

	public static final String COMMAND = "command";
	public static final String RESULT = "DATA_STORE_RESULT";
	
	/* general */
	public static final String ID = "id";
	public static final String CLASS = "class";
	public static final String HANDLER = "handler";
	public static final String BIZ_ID = "bizId";
	public static final String PARAMETERS = "parameters";
	public static final String CID = "DATASTORE_BIZ";
	public static final String BUSINESS = "business";
	public static final String DOT = ".";
	public static final String SETTER = "set";

	
	/* connection */
	public static final String CONNECTION = "connection";
	public static final String POOL = "pool";
	

	/* meta data */
	public static final String COLUMNCLASSNAME = "columnClassName";
	public static final String COLUMNTYPENAME = "columnTypeName";
	public static final String COLUMNLENGTH = "columnLength";
	public static final String UPDATECOUNT = "updateCount";
	public static final String METADATA = "metaData";
	
	
	/* query */
	public static final String QUERY = "query";
	public static final String QUERY_ID = "queryId";
	public static final String QUERY_PARAM = "queryParams";
	
	
	/* data type */
	public static final String DATA_TYPE = "type";
	public static final String DATA_VALUE = "value";
	public static final String INTEGER = "Integer";
	public static final String FLOAT = "Float";
	public static final String DOUBLE = "Double";
	public static final String LONG = "Long";
	public static final String CHARACTER = "Character";
	public static final String BOOLEAN = "Boolean";
	public static final String BYTE = "Byte";
	
	
	/* primitive */
	public static final String DATA_BOOLEAN = Boolean.class.getName();
	public static final String DATA_BYTE = Byte.class.getName();
	public static final String DATA_CHARACTER = Character.class.getName();
	public static final String DATA_SHORT = Short.class.getName();
	public static final String DATA_INT = Integer.class.getName();
	public static final String DATA_LONG = Long.class.getName();
	public static final String DATA_FLOAT = Float.class.getName();
	public static final String DATA_DOUBLE = Double.class.getName();
	
	public static final String DATA_STRING = String.class.getName();
	public static final String DATA_BIGDECIMAL = java.math.BigDecimal.class.getName();
	public static final String DATA_BINARY_STREAM = java.io.InputStream.class.getName();
	public static final String DATA_CHARACTER_STREAM = java.io.Reader.class.getName();
	public static final String DATA_TIMESTAMP = java.sql.Timestamp.class.getName();
	public static final String DATA_TIME = java.sql.Time.class.getName();
	public static final String DATA_DATE = java.sql.Date.class.getName();
	public static final String TARGET_STORE = "target";
	
	
	/* database name */
	public static final String DATABASE = "database";
	public static final String MYSQL = "mysql";
	public static final String ORACLE = "oracle";
	public static final String CASSANDRA = "cassandra";
	public static final String MSSQL = "mssql";
	public static final String DB2 = "db2";

	/* database exit handler id */
	public static final String EXIT = "exit";
	public static final String MYSQL_EXIT = MYSQL + DOT + EXIT;
	public static final String ORACLE_EXIT = ORACLE + DOT + EXIT;
	public static final String CASSANDRA_EXIT = CASSANDRA + DOT + EXIT;
	public static final String MSSQL_EXIT = MSSQL + DOT + EXIT;
	public static final String DB2_EXIT = DB2 + DOT + EXIT;
	public static final CharSequence SQLSERVER = "sqlserver";
	
	
	

	
	
}
